import React, { Component } from 'react';
import './index.scss';
import { Select } from 'antd';
const { Option } = Select;
const children = [];
for (let i = 10; i < 36; i++) {
    children.push(<Option key={i.toString(36) + i}>{i.toString(36) + i}</Option>);
}
class MultiSelect extends Component {
    handleChange = (value) => {
        console.log(`selected ${value}`);
    }

    render() {
        return (
            <Select
             mode="tags" 
             style={{ width: '100%' }} 
             placeholder="Tags Mode" 
             onChange={this.handleChange}>
                {children}
            </Select>
        )
    }
}
export default MultiSelect;